package com.Drools.CIPS.util;

import java.util.Map;

/**
 * 工具类
 */
public class MapIN {
    public static Object GetValue(Object map,String s){

        for (String s1:s.split("\\.")){
            if(map == null){
                return null;
            }
            map = ((Map) map).get(s1);
        }
        return map;
    }

}
